package cn.javastudy.design._3_行为型模式._策略模式;

/**
 * 销售主体
 *
 * @author sumou
 * @date 2025/01/24
 */
public class SalesMan {

    /**
     * 销售策略
     */
    private final Strategy strategy;

    public SalesMan(Strategy strategy) {
        this.strategy = strategy;
    }

    public void saleManShow() {
        strategy.show();
    }

}
